home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d19
/
evtimer.arc
/
EVTIMER.DOC
next >
Wrap
Text File
|
1988-06-24
|
6KB
|
192 lines
SECOND NODE EVENT TIMER
By: Dave De Wald
Detron of Hawaii
350 Ward Ave, Suite 106
Honolulu, Hawaii 96814
(c) 1988, Detron of Hawaii
-----------------------------------------------------------------
INTRO
-----
If you are running under Double Dos or on a LANs, then you may
find this little program handy.
Some of the programs written as utilities for PCBoard have been
compiled in such a manner that if you are running two program
under Double Dos the screen display from one half will bleed over
to the other half and may even cause the system to hang. I had
this happen to me with DIRHEAD running in one half and CALL12S18
was running in the other.
This can really spoil your day if you get up in the morning and
find out that your system has been down for over 4 hours while
you were sleeping.
Under a LANs system you may have run into a SHARE problem when a
program on one node tries to access a file that the event running
in another node is using and has locked, AND YOU WAKE UP THE NEXT
DAY TO FIND YOU HAVE BEEN HUNG SINCE MIDNIGHT!
Well, with EVTIMER you can just put all your utility programs in
one event and keep them there.
But what of the other node? Why just run EVTIMER.
COMMAND LINE
------------
By using a command line in the other node's EVENT.SYS file that
looks like this:
EVTIMER1 60
Ofcourse EVTIMER1 calls the program, and the 60 is the amount of
time you want the clock to run before shutting down.
You may specify any amount of time up to 23 hrs 59 minutes.
Only one draw back. If you have your node go down at 23:55 and
want to have EVTIMER to go more than 4 minutes you may have a
problem.
I have not tried it for that although the logic is there to
correct for a midnight crossover. But I donot recommend you try
it.
Here is an example of a EVENT.SYS file I use on my LANtastic
network.
EVENT.SYS (node 1)
------------------
E:
CD\
REN UP1 DOWN1 < file to let node 2 know node 1 is down
E:
CD\PCB
EVTIMER1 60 < run EVTIMER for 60 minutes
BOARD
EVENT.SYS (node 2)
------------------
E:
CD\
REN UP2 DOWN2
:WAIT
IF EXIST UP1 GOTO WAIT < node 2 looks for node 1 to go down
E:
CD\DOOR\BDAY
SORTBDAY
CD\PCB\GE
COPY \PCB\TODAYBDS+SP+NEW NEWS
COPY \PCB\TODAYBDS+SP+NEWG NEWSG
DEL \PCB\TODAYBDS
E:
CD\PCB\MA
COPY CALLER2+CALLER1 CALLER
DEL CALLER1
DEL CALLER2
REN CALLER CALLER1
CD\PCB2
QUPDN3
CALLS E:\PCB\MA\CALLER1 E:\PCB\GE\BLT12
PCBHOT24 e:\PCB\MA\CALLER1 e:\PCB\GE\BLT11 /1 /G
CD\PCB\MA
CALLREN CALLER1
E:
CD\DOOR\TRADE
TWMAINT E:\GA\GBLT6
CD\DOOR\FLAGTAG
FNEXTDAY E:\GA\GBLT1
CD\DOOR\TASKFORCE
NEXTDAY E:\GA\GBLT5
D\PCB2
BLTMKR BLTMK.C0 /NEW
BLTMKR BLTMK.C1 /NEW
BLTMKR BLTMK.C2 /NEW
BLTMKR BLTMK.C3 /NEW
BLTMKR BLTMK.C5 /NEW
BLTMKR BLTMK.C6 /NEW
PX -U F:\D10\BLT E:\PCB\GE\BLT7
PX -U F:\D10\BLT E:\PCB\GE\BLT8
PX -U F:\D10\BLT E:\PCB\GE\BLT10
PX -U F:\D10\BLT E:\PCB\GE\BLT11
PX -U F:\D10\BLT E:\PCB\GE\BLT12
PX -U F:\D10\BLT E:\PCB\GE\BLT13
PX -U F:\D10\BLT E:\PCB\GE\BLT14
E:
CD\PCB2
BOARD2
The line in node 1's EVENT.SYS file were it renames UP1 to DOWN1
and the corresponding lines in node 2's EVENT.SYS file that looks
for the name change can be used not only with LANs but works
great for Double Dos networks.
I set node 2 to go down 5 minutes before node 1's time. That way
I am sure that node 1 and 2 are both down before the events are
run.
FILES IN THIS ARC
-----------------
EVTIMER1.EXE this form displays start time/end time
total time to run and current clock time
EVTIMER2.EXE no display with this form/clear screen
EVTIMER.DOC this file
SHAREWARE PLUS
--------------
These programs are released as ShareWare, but ownership and
copyright remains in the name of Detron of Hawaii. These programs
may not be modified without written permission from Detron of
Hawaii. There may not any charge for copying these programs. The
DOC file may not be edited or modified and must be included with
the EVTIMER files in ARC'ed form. SysOps may not charge a fee for
access to or downloading of these files.
REGISTRATION
------------
Althought EVTIMER is released as ShareWare, it is requested that
users register their use of the program. There is a $ 5.00 fee
for registration. This fee will enclude access to Program Library
& Exchange BBS' Support Conference (808) 845-1303 after you have
fullfilled the validation requirements for that BBS. That
Conference will contain the lasted version of EVTIMER.
Make fee payable to: Detron of Hawaii
350 Ward Ave, Suite 106
Honolulu, Hawaii 96814
Lastest version and support may be obtained thru Program Library
& Exchange BBS, Honolulu, Hi, (808) 845-1303, 300/1200/2400,
24hrs.
DISCLAIMER
----------
Dave De Wald and Detron of Hawaii may not be held responsible for
damage to your hardware, software or data files that may arrise
from the use of EVTIMER in either of it's two forms. The user
accepts all responsibility for any damage that may result from
the use of EVTIMER in either of it's two forms.